package de.wittje.pokemonadventure.view.labels;

import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.JPanel;

public class TitleScreen extends JPanel {

	@Override
	protected void paintComponent(Graphics g) {

		System.out.println("BLUBB");

		super.paintComponent(g);

		BufferedImage img;
		try {
			img = ImageIO.read(getClass().getResourceAsStream(
					"/data/images/Tactic.png"));
			g.drawImage(img, 0, 0, null, null);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
